package phoenix.web.locators.base.features;

import org.openqa.selenium.By;

/**
 * Created by AlexGolovko on 06.11.2014.
 */
public abstract class InboxPageLocatorBase
{

	public By btnStartChat = By.xpath("//a[@letter-conversation-send-new-btn='1']");
	public By btnNewLetter = By.xpath("//a[contains(text(),'New letter')]");

	public By btnSendLetter = By.xpath("//a[@letter-conversation-send-new-btn='1']");
	public By btnSend = By.xpath("//a[contains(text(),'Send')]");

	// Blocks
	public By inputSubject = By.xpath("//input[@name='letterSubject']");
	public By inputMessage = By.id("messenger-text");

	public By blockSubject = By.cssSelector("p.subject > span");
	public By blockMessageText = By.cssSelector("div.text");

	public By blockLetterList = By.className("b-letters-list");
	public By elementSubject = By.xpath("//div[@letter-conversation-item='1']//p[@class='subject']");
	public By elementText = By.xpath("//div[@letter-conversation-item='1']//div[@class='text']");

}
